﻿<ResourceDictionary
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" 
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d">	
		
	<LinearGradientBrush x:Key="PnlGrpInnerBoxGradientBrush" StartPoint="0.238,0.228" EndPoint="0.752,0.749">
		<GradientStop Color="#00F6F6F6" Offset="0.254" />
		<GradientStop Color="#53F8F8F8" Offset="0.54" />
		<GradientStop Color="#BFFFFFFF" Offset="0.996" />
	</LinearGradientBrush>
	<Style x:Key="ButtonStyleNav" TargetType="{x:Type Button}">
		<Setter Property="FontFamily" Value="Calibri"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="AnimOnPnlGrp" AccelerationRatio="0.5" DecelerationRatio="0.5">
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="container" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
								<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="1.05"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="container" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
								<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="1.05"/>
							</DoubleAnimationUsingKeyFrames>
							<!--<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="container" Storyboard.TargetProperty="(UIElement.Effect).(DropShadowEffect.BlurRadius)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="5"/>
								<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="20"/>
							</DoubleAnimationUsingKeyFrames>-->
						</Storyboard>
						<Storyboard x:Key="AnimOffPnlGrp" AccelerationRatio="0.5" DecelerationRatio="0.5" >
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="container" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleX)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
								<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="container" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[0].(ScaleTransform.ScaleY)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="1.05"/>
								<SplineDoubleKeyFrame KeyTime="00:00:00.2000000" Value="1"/>
							</DoubleAnimationUsingKeyFrames>
							<!--<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="container" Storyboard.TargetProperty="(UIElement.Effect).(DropShadowEffect.BlurRadius)">
								<SplineDoubleKeyFrame KeyTime="00:00:00" Value="20"/>
								<SplineDoubleKeyFrame KeyTime="00:00:00.1000000" Value="5"/>
							</DoubleAnimationUsingKeyFrames>-->
						</Storyboard>		
					</ControlTemplate.Resources>
					<Grid>
						<Rectangle RenderTransformOrigin="0.5,0.5" x:Name="container" Fill="{DynamicResource PnlGrpInnerBoxGradientBrush}" Stroke="Black" RadiusX="26.5" RadiusY="26.5">
							<!--<Rectangle.Effect>
								<DropShadowEffect/>
							</Rectangle.Effect>-->
							<Rectangle.RenderTransform >
								<TransformGroup>
									<ScaleTransform />
									<SkewTransform/>
									<RotateTransform/>
									<TranslateTransform/>   			
								</TransformGroup>
							</Rectangle.RenderTransform>
						</Rectangle>
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						 <Trigger Property="IsMouseOver" Value="true">
                            <Trigger.ExitActions>
                                <BeginStoryboard Storyboard="{StaticResource AnimOffPnlGrp}" />
                            </Trigger.ExitActions>
                            <Trigger.EnterActions>
                                <BeginStoryboard Storyboard="{StaticResource AnimOnPnlGrp}" />
                            </Trigger.EnterActions>
                        </Trigger>
						<Trigger Property="IsPressed" Value="True"/>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
	</Style>
	<Style x:Key="ButtonStyleNav2" TargetType="{x:Type Button}">
		<Setter Property="FontFamily" Value="Calibri"/>
		<Setter Property="Foreground" Value="#FFF2F2F2"/>
		<Setter Property="Template">
			<Setter.Value>
				<ControlTemplate TargetType="{x:Type Button}">
					<ControlTemplate.Resources>
						<Storyboard x:Key="AnimPressedOn">
							<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Panel.Background).(LinearGradientBrush.StartPoint)">
								<SplinePointKeyFrame KeyTime="00:00:00" Value="0,0"/>
								<SplinePointKeyFrame KeyTime="00:00:00.1500000" Value="0.015,0.003"/>
							</PointAnimationUsingKeyFrames>
							<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Panel.Background).(LinearGradientBrush.EndPoint)">
								<SplinePointKeyFrame KeyTime="00:00:00" Value="0,1"/>
								<SplinePointKeyFrame KeyTime="00:00:00.1500000" Value="-0.015,0.997"/>
							</PointAnimationUsingKeyFrames>
							<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Border.BorderThickness)">
								<SplineThicknessKeyFrame KeyTime="00:00:00" Value="1"/>
								<SplineThicknessKeyFrame KeyTime="00:00:00.1500000" Value="2"/>
							</ThicknessAnimationUsingKeyFrames>
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF131B30"/>
								<SplineColorKeyFrame KeyTime="00:00:00.1500000" Value="#FF26282C"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
						<Storyboard x:Key="AnimPressedOff">
							<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Panel.Background).(LinearGradientBrush.StartPoint)">
								<SplinePointKeyFrame KeyTime="00:00:00" Value="0.015,0.003"/>
								<SplinePointKeyFrame KeyTime="00:00:00.1500000" Value="0,0"/>
							</PointAnimationUsingKeyFrames>
							<PointAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Panel.Background).(LinearGradientBrush.EndPoint)">
								<SplinePointKeyFrame KeyTime="00:00:00" Value="-0.015,0.997"/>
								<SplinePointKeyFrame KeyTime="00:00:00.1500000" Value="0,1"/>
							</PointAnimationUsingKeyFrames>
							<ThicknessAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Border.BorderThickness)">
								<SplineThicknessKeyFrame KeyTime="00:00:00" Value="2"/>
								<SplineThicknessKeyFrame KeyTime="00:00:00.1500000" Value="1"/>
							</ThicknessAnimationUsingKeyFrames>
							<ColorAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="border" Storyboard.TargetProperty="(Border.BorderBrush).(GradientBrush.GradientStops)[1].(GradientStop.Color)">
								<SplineColorKeyFrame KeyTime="00:00:00" Value="#FF26282C"/>
								<SplineColorKeyFrame KeyTime="00:00:00.1500000" Value="#FF131B30"/>
							</ColorAnimationUsingKeyFrames>
						</Storyboard>
					</ControlTemplate.Resources>
					<Grid>
						<Border x:Name="border" Background="{DynamicResource DefaultedBorderBrush}" BorderThickness="1" CornerRadius="5" Padding="2">
							<Border.BorderBrush>
								<LinearGradientBrush EndPoint="0.886,0.806" StartPoint="0.492,0.312">
									<GradientStop Color="#FF727171" Offset="0"/>
									<GradientStop Color="#FF061D5B" Offset="1"/>
								</LinearGradientBrush>
							</Border.BorderBrush>
						</Border>
						<ContentPresenter HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}" RecognizesAccessKey="True"/>
					</Grid>
					<ControlTemplate.Triggers>
						<Trigger Property="IsFocused" Value="True"/>
						<Trigger Property="IsDefaulted" Value="True"/>
						<Trigger Property="IsMouseOver" Value="True"/>
						<Trigger Property="IsPressed" Value="True">
                            <Trigger.EnterActions>
                                <BeginStoryboard Storyboard="{StaticResource AnimPressedOn}" />
                            </Trigger.EnterActions>
						</Trigger>
						<Trigger Property="IsEnabled" Value="False"/>
					</ControlTemplate.Triggers>
				</ControlTemplate>
			</Setter.Value>
		</Setter>
		<Setter Property="FontSize" Value="18.667"/>
		<Setter Property="HorizontalAlignment" Value="Stretch"/>
		<Setter Property="FontWeight" Value="Bold"/>
	</Style>
	<LinearGradientBrush x:Key="BckWindow" EndPoint="0.5,1" StartPoint="0.5,0" MappingMode="RelativeToBoundingBox">
		<GradientStop Color="#CC12475D" Offset="0.034"/>
		<GradientStop Color="#99000000" Offset="1"/>
		<GradientStop Color="#CC28799F" Offset="0.712"/>
		<GradientStop Color="#CC174E66" Offset="0.773"/>
		<GradientStop Color="#CC16333F" Offset="0.393"/>
		<GradientStop Color="#CC0F1B20" Offset="0.88"/>
	</LinearGradientBrush>

</ResourceDictionary>